package com.vhall.component.entity.record;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author guoxin.wang
 * @date 2021-06-02 18:10
 */
@Data
public class RecordEntityDTO implements Serializable {

    private Integer id;

    private Integer accountId;

    private Integer ilId;

    private String roomId;

    private Integer source;

    private String vodId;

    private String name;

    private Integer transcodeStatus;

    private Integer duration;

    private Integer storage;

    private Integer status;
    @JSONField(name = "created_at", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    @JSONField(name = "updated_at", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
    @JSONField(name = "deleted_at", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deletedAt;
    @JSONField(name = "created_time", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;
    /**
     * 回放章节打点状态| 0：关闭 1：开启
     * @enum ChapterPointStatusEnum
     */
    @JsonProperty("record_chapter_status")
    private Integer recordChapterStatus;
}
